/**
 * Class for handeling a single quest item
 * 
 * @author Leander & Laurens
 * @version 6-1-2014
 */
public class TrapRoom extends Room
{
    private boolean fallen;
    private Room roomToFallTo;
    
    /**
     * Constructor for objects of class TrapRoom
     * @param The description of this room
     */
    public TrapRoom(String description, Room roomToFallTo)
    {
        super(description);
        roomToFallTo = this.roomToFallTo;
        fallen = false;
    }
    
    /**
     * Sets fallen variable to parameter value
     */
    public void setFallen(boolean fallen){
        fallen = this.fallen;
    }
    
    /**
     * Get the value of the varriable fallen
     */
    public boolean getFallen(){
        return fallen;
    }
    
    /**
     * Sets roomToFallTo variable to parameter value
     */
    public void setroomToFallTo(Room roomToFallTo){
        roomToFallTo = this.roomToFallTo;
    }
    
    /**
     * Get the value of the varriable fallen
     */
    public Room getroomToFallTo(){
        return roomToFallTo;
    }
}
